package de.reichelt.fxrequi;

import de.reichelt.fx.FxOption;
import de.reichelt.fxrequi.data.Testpack;
import java.net.URL;
import java.util.ResourceBundle;
import javafx.collections.FXCollections;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.ComboBox;
import javafx.scene.control.Label;
import javafx.scene.control.TextArea;
import javafx.scene.layout.AnchorPane;
import javafx.scene.layout.HBox;

public class TestpackController implements Initializable {

  @FXML private AnchorPane panTitle;
  @FXML private Label labTitle;
  
  @FXML private AnchorPane panData;
  @FXML private ComboBox<FxOption> cmbKind;
  @FXML private ComboBox<FxOption> cmbMethod;
  @FXML private TextArea txtDescr;
  
  @FXML private HBox panNavigation;
  @FXML private Button btnCancel;
  @FXML private Button btnSave;
  
  @Override
  public void initialize(URL url, ResourceBundle rb) {
    
    cmbKind.setItems(FXCollections.observableArrayList(Testpack.kinds));
    cmbMethod.setItems(FXCollections.observableArrayList(Testpack.methods));
    
    
  }  
  
}
